﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Einstein.Data;
using Einstein.Utility; 

namespace Einstein.Group.Model
{
    public class UserInfoModel : UserInfo
    {
        public string SexName { get; set; }
        public string DeptName { get; set; }
        public string UserTypeName { get; set; }
        public string BirthdayFormat 
        {
            get
            {
                return FormatHelper.FormatDate(this.Birthday);
            }
        }
        public string RegDateFormat
        {
            get
            {
                return FormatHelper.FormatDate(this.RegDate);
            }
        }
        public string ExpireDateFormat
        {
            get
            {
                return FormatHelper.FormatDate(this.ExpireDate);
            }
        }
    }
}
